\setscript[hanzi]
\setupalign[hanging, hz]

\usemodule[zhfontsext]
\usetypescript[cnfontb]
\setupbodyfont[cnfontb,rm,12pt] % 小四号 = 12pt
\mainlanguage[cn]

\setupinterlinespace[line=3.66ex] %line=3.05ex相当于WORD 中的1.0倍行距, 3.66ex相当于WORD 中的1.2倍行距


\setuppapersize[A4]
\setuplayout[width=fit,height=fit,backspace=10mm,cutspace=10mm,topspace=10mm,margin=10mm,header=10mm,footer=10mm]
\setuppagenumbering[location={header,right},style=\bfb]

\setupcounter[table][number=2]

\starttext

\startplacetable []
{
\setupTABLE[column][each][align=middle,width=2cm]
\setupTABLE[row][odd][background=color,backgroundcolor=gray]
\setupTABLE[row][even][foregroundcolor=green]
\bTABLE
\bTABLEhead
\bTR \bTH  年份 \eTH   \bTH  产品 \eTH   \bTH  销量 \eTH \eTR
\eTABLEhead
\bTABLEbody
\bTR \bTD 2021 \eTD \bTD 柚子 \eTD \bTD 4500 \eTD \eTR
\bTR \bTD 2022 \eTD \bTD 水蜜桃 \eTD \bTD 480 \eTD \eTR
\bTR \bTD 2023 \eTD \bTD 柠檬 \eTD \bTD 50 \eTD \eTR
\bTR \bTD 2024 \eTD \bTD 蓝莓 \eTD \bTD 930 \eTD \eTR
\eTABLEbody
\eTABLE
}
\stopplacetable




\stoptext